﻿using AutoMapper;
using BootstrapBlazor.Components;
using Commonality;
using Models;

namespace Carlife.APi
{
    public class MapperFile:Profile
    {
        public MapperFile()
        {
            CreateMap<TreeBindDTO, SelectedItem>();
            CreateMap<CarLeaseProjectDTO, CarLeaseProject>();
            CreateMap<UserLeaseRelationDTO, UserLeaseRelation>();
            CreateMap<AuditSetDTO, CarLeaseProject>();
            CreateMap<AuditSetsDTO, Minimumrent>();
        }
    }
}
